package com.supreme.orderserver.service.remote;

import com.alibaba.fastjson.JSONObject;
import com.supreme.configcloud.config.FeignOkHttpConfig;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "supreme-express-server", contextId = "express-service")
public interface ExpressService {

    @GetMapping(value = "/product/search")
//    @RequestLine(value = "GET /product/search")
    JSONObject searchProduct();
}
